<template>
  <div id="app">
    <ul class="nav">
      <li><router-link to="/">homepage</router-link></li>
      <li><router-link to="/about">about</router-link></li>
    </ul> 
    <router-view />
  </div>
</template>

<script>

export default {
  name: 'App',
  components: {

  }
}
</script>

<style>
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

.nav {
  display: flex;
  justify-content: center;
  padding: 40px;
}

.nav li {
  margin: 0 20px;
}
</style>
